import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import moment from "moment";
import 'element-ui/lib/theme-chalk/index.css';
import JSEncrypt from "jsencrypt";
Vue.use(ElementUI)
Vue.prototype.$moment = moment;
Vue.config.productionTip = false
router.beforeEach((to,from,next) => {
  document.title=to.meta.title?'智币精灵-'+to.meta.title:'智币精灵'
  next()
})
new Vue({
  router,
  store,
  render: h => h(App),

}).$mount('#app')
